package com.sunnypower.rushfitapp.entity;

import java.util.Date;

public class User {

    private Integer uid;

    private Integer sex;

    private String name;

    private String tel;

    private String addr;

    private String idnumb;

    private String photo;

    private String time;

    private Integer state;

    private String pwd;

    /**
     * @return uid
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * @param uid
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * @return sex
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * @param sex
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * @param tel
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * @return addr
     */
    public String getAddr() {
        return addr;
    }

    /**
     * @param addr
     */
    public void setAddr(String addr) {
        this.addr = addr;
    }

    /**
     * @return idnumb
     */
    public String getIdnumb() {
        return idnumb;
    }

    /**
     * @param idnumb
     */
    public void setIdnumb(String idnumb) {
        this.idnumb = idnumb;
    }

    /**
     * @return photo
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * @param photo
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * @return state
     */
    public Integer getState() {
        return state;
    }

    /**
     * @param state
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * @return pwd
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * @param pwd
     */
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public User(Integer uid, Integer sex, String name, String tel, String addr, String idnumb, String photo, String time, Integer state, String pwd) {
        this.uid = uid;
        this.sex = sex;
        this.name = name;
        this.tel = tel;
        this.addr = addr;
        this.idnumb = idnumb;
        this.photo = photo;
        this.time = time;
        this.state = state;
        this.pwd = pwd;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", sex=" + sex +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", addr='" + addr + '\'' +
                ", idnumb='" + idnumb + '\'' +
                ", photo='" + photo + '\'' +
                ", time=" + time +
                ", state=" + state +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}